package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.api.model.enums.AgentLevelEnum;
import com.weixing.mall.provider.api.model.enums.AgentTypeEnum;
import com.weixing.mall.provider.model.enums.AgentRuleStatusEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName AgentRuleVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/9/23
 * @Version 1.0
 **/
@Data
public class AgentRuleVo {

    private Long id;
    private String ruleName;
    private AgentLevelEnum agentLevel;
    private AgentTypeEnum agentType;
    private Integer achievement;
    private Integer saleQuantity;
    private AgentRuleStatusEnum ruleStatus;
    private Integer timeCondition;
    private BigDecimal discount;
    private Integer renewYear;
    private Integer renerQuater;
    private Integer renewMonth;
    private String remarks;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;
}
